Skip to main content

DescribeMasterSlaveServerGroupAttribute

Description

call DescribeMasterSlaveServerGroupAttribute query to specify the details of the primary and standby server group.

Request Method

POST

Request Path

/apsara/route/Slb/DescribeMasterSlaveServerGroupAttribute

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
MasterSlaveServerGroupIdBODYstringYesrsp-cige6j****primary and standby server group ID.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the load balancing instance.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
ServerTypestringSlaveserver type, value:Master (default) or Slave.
Typestringecsbackend server type, value: ecs:ECS instance (default). eni: ENI instance.
ServerIdstringvm-hrf****ECS instance ID or ENI instance ID.
Descriptionstringdescription of the primary and standby server group.primary and standby server group description.
RequestIdstring9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18Crequest ID.
Portinteger90the port used by the backend server.
MasterSlaveServerGroupIdstringrsp-cige6****primary and standby server group ID.
MasterSlaveServerGroupNamestringGroup1the name of the primary and standby server group.
MasterSlaveBackendServerNo sample value for this parameter.No description for this parameter.
MasterSlaveBackendServersarray of masterslavebackendserverNo sample value for this parameter.list of primary and standby server groups.
Weightinteger100the weight of the back-end server.

Example

Successful Response example

{
"ServerType":"Slave",
"Type":"ecs",
"ServerId":"vm-hrf****",
"Description":"description of the primary and standby server group.",
"RequestId":"9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C",
"Port":"90",
"MasterSlaveServerGroupId":"rsp-cige6****",
"MasterSlaveServerGroupName":"Group1",
"MasterSlaveBackendServer":"",
"MasterSlaveBackendServers":"",
"Weight":"100"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: DescribeMasterSlaveServerGroups

DescribeMasterSlaveServerGroups

Description

call DescribeMasterSlaveServerGroups to query the list of primary and standby server groups.

Request Method

POST

Request Path

/apsara/route/Slb/DescribeMasterSlaveServerGroups

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
LoadBalancerIdBODYstringYeslb-bp14zi0n66zpg6o****load balancing instance ID.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the load balancing instance.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstring9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18Crequest ID.
MasterSlaveServerGroupIdstringrsp-0bfuc****primary and standby server group ID.
MasterSlaveServerGroupNamestringGroup3the name of the primary and standby server group.
MasterSlaveServerGroupsarray of masterslaveservergroupNo sample value for this parameter.list of primary and standby server groups.
MasterSlaveServerGroupNo sample value for this parameter.No description for this parameter.

Example

Successful Response example

{
"RequestId":"9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C",
"MasterSlaveServerGroupId":"rsp-0bfuc****",
"MasterSlaveServerGroupName":"Group3",
"MasterSlaveServerGroups":"",
"MasterSlaveServerGroup":""
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: DescribeRegions

DescribeRegions

Description

call DescribeRegions to query available regions.

Request Method

POST

Request Path

/apsara/route/Slb/DescribeRegions

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: DescribeServerCertificates

DescribeServerCertificates

Description

invoke the DescribeServerCertificates to query the list of server certificates in the specified region.

Request Method

POST

Request Path

/apsara/route/Slb/DescribeServerCertificates

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
ServerCertificateIdBODYstringNo12315790xxxxxxx_166f8204689_1714763408_709*****server certificate ID.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the load balancing instance. you can query the region by calling DescribeRegions interface ID.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RegionIdAliasstringcn-qingdao-env17-d01the region name of the load balancing instance.
ServerCertificateNo sample value for this parameter.No description for this parameter.
Fingerprintstring68:08:1a:f8:2c:97:69:a3:a1:e6:16:41:4b:ca:4f:5d:ee:a5:ef:0dfingerprint of the server certificate.
AliCloudCertificateNamestringtestcertkeythe server certificate name of alibaba cloud certificate service.
RequestIdstring365F4154-92F6-4AE4-92F8-7FF34B540710request ID.
IsAliCloudCertificateinteger0is it a certificate in alibaba cloud certificate service: 1: Yes. 0: no.
ServerCertificatesarray of servercertificateNo sample value for this parameter.server certificate list.
ServerCertificateIdstring123157xxxxxxxx_166f8204689_1714763408_709981430-cn-east-hangz******server certificate ID.
ServerCertificateNamestringslbserver certificate name.
RegionIdstringcn-qingdao-env17-d01the region ID of the server certificate.
AliCloudCertificateIdstring7309xxxxxxxx_15d97e7709a_71445759hr_78928*****the server certificate ID of alibaba cloud certificate service.
StandardTypestringServerCertificatestandard type.

Example

Successful Response example

{
"RegionIdAlias":"cn-qingdao-env17-d01",
"ServerCertificate":"",
"Fingerprint":"68:08:1a:f8:2c:97:69:a3:a1:e6:16:41:4b:ca:4f:5d:ee:a5:ef:0d",
"AliCloudCertificateName":"testcertkey",
"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
"IsAliCloudCertificate":"0",
"ServerCertificates":"",
"ServerCertificateId":"123157xxxxxxxx_166f8204689_1714763408_709981430-cn-east-hangz******",
"ServerCertificateName":"slb",
"RegionId":"cn-qingdao-env17-d01",
"AliCloudCertificateId":"7309xxxxxxxx_15d97e7709a_71445759hr_78928*****",
"StandardType":"ServerCertificate"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}